package com.example.aidocengine.pojo.dto.response;

import lombok.Data;

import java.util.List;

@Data
public class ValidationResultResponse {
    
    private Long documentId;
    
    private String documentName;
    
    private String validationStatus;
    
    private Integer totalSteps;
    
    private Integer passedSteps;
    
    private Integer failedSteps;
    
    private List<ValidationDetailResponse> validationDetails;
    
    private String downloadUrl;
    
    @Data
    public static class ValidationDetailResponse {
        private Integer tableIndex;
        private Integer rowIndex;
        private String commandingUnit;
        private String operationStep;
        private String validationResult;
        private String validationType;
        private String errorMessage;
        // commander字段已移除，校验结果通过errorMessage显示
    }
}